package com.sanhe.a448.utils;

import static com.menu.app.util.FunctionCode.START1;
import static com.menu.app.util.FunctionCode.START2;

import com.menu.app.util.port.SerialManage;

public class Const {

    public final static String REPORT = "system/app/historyrf";
    public static boolean jump = false;
    public static int currentPage = 0;

    public static void sendTouchEvent(Integer i, Integer addrH, Integer addrL, Integer data_H, Integer data_L) {
        byte[] touch_event = new byte[9];
        touch_event[0] = START1;
        touch_event[1] = START2;
        touch_event[2] = 6;
        touch_event[3] = (byte) 0x83;
        touch_event[4] = addrH.byteValue();
        touch_event[5] = addrL.byteValue();
        touch_event[6] = 1;
        touch_event[7] = data_H.byteValue();
        touch_event[8] = data_L.byteValue();
        SerialManage.getInstance().send(touch_event);
    }
}
